package com.site.wisdom_construction.service.scheduleModule;

import com.site.wisdom_construction.dao.scheduleModule.ProjectProgressPlanDao;
import com.site.wisdom_construction.entity.scheduleModule.ProjectProgressPlan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/16
 * @Description
 */
@Service
public class ProjectProgressPlanService implements ProjectProgressPlanDao {
    @Autowired
    private ProjectProgressPlanDao projectProgressPlanDao;

    @Override
    public int insertProjectProgressPlan(Map map) {
        return projectProgressPlanDao.insertProjectProgressPlan(map);
    }

    @Override
    public int deleteProjectProgressPlan(Map map) {
        return projectProgressPlanDao.deleteProjectProgressPlan(map);
    }

    @Override
    public int updateProjectProgressPlan(Map map) {
        return projectProgressPlanDao.updateProjectProgressPlan(map);
    }

    @Override
    public int updateProjectProgressPlanByTrue(Map map) {
        return projectProgressPlanDao.updateProjectProgressPlanByTrue(map);
    }

    @Override
    public int updateProjectProgressPlanByFalse(Map map) {
        return projectProgressPlanDao.updateProjectProgressPlanByFalse(map);
    }

    @Override
    public int updateProjectProgressPlanByStatus(Map map) {
        return projectProgressPlanDao.updateProjectProgressPlanByStatus(map);
    }

    @Override
    public int updateStatus(Map map) {
        return projectProgressPlanDao.updateStatus(map);
    }

    @Override
    public int updateProjectPractical() {
        return projectProgressPlanDao.updateProjectPractical();
    }

    @Override
    public List<ProjectProgressPlan> findProjectProgressPlanByPage(Map map) {
        return projectProgressPlanDao.findProjectProgressPlanByPage(map);
    }

    @Override
    public long Total(Map map) {
        return projectProgressPlanDao.Total(map);
    }

    @Override
    public List<ProjectProgressPlan> selectProjectProgressPlan(Map map) {
        return projectProgressPlanDao.selectProjectProgressPlan(map);
    }

    @Override
    public ProjectProgressPlan findProjectProgressPlanById(Map map) {
        return projectProgressPlanDao.findProjectProgressPlanById(map);
    }

    @Override
    public List<ProjectProgressPlan> findProjectProgressPlanByProjectId(Map map) {
        return projectProgressPlanDao.findProjectProgressPlanByProjectId(map);
    }
}
